//
// Created by hjie on 23-9-17.
//

#include "turn_data_manager.h"
#include "./../message_process.h"
#include "nonce_data.h"
#include <memory>


TurnDataManager::TurnDataManager(MessageProcess *message_process)
{
    m_message_process = message_process;
    m_nonce_manager   = std::make_shared<NonceDataManager>();
}

void TurnDataManager::DataTimer()
{
    if (m_nonce_manager)
    {
        m_nonce_manager->NonceDataTimer();
    }
}